﻿using System.ComponentModel.DataAnnotations;
using Orchard.ContentManagement;

namespace Orchard.OSM.Models {
	public class OpenStreetMapNodePart : ContentPart<OpenStreetMapNode>
	{
		[Required]
		public long OsmNode
		{
			get { return Record.OsmNode; }
			set { Record.OsmNode = value; }
		}

		[Required]
		public long Latitude
		{
			get { return Record.Latitude; }
			set { Record.Latitude = value; }
		}

		[Required]
		public long Longitude
		{
			get { return Record.Longitude; }
			set { Record.Longitude = value; }
		}
	}
}